package com.hyq.eduservice.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 告警记录 前端控制器
 * </p>
 *
 * @author hyq
 * @since 2021-01-26
 */
@RestController
@RequestMapping("/eduservice/tb-alarm")
public class TbAlarmController {

    public static void main(String[] args) {
        for(int i = 1;i<100;i++){
            sum(i);
        }

    }

    public static void sum(int y){
        if(((369-(12*y))%15) == 0){
            System.out.println("-----------------------");
            System.out.println(y);
            System.out.println((369-(12*y))/15);
        }

    }

}

